package demo1;

public class Money implements Cloneable {
    public double money=9.9;
    @Override
    protected Object clone() throws CloneNotSupportedException {//1.重写父类Object的方法
    return super.clone();
    }
}
